6f66646e58350951a66cc541f7879ae01b0418d6,modules/apps/wiki/wiki-web/src/main/java/com/liferay/wiki/web/portlet/configuration/icon/NodeSubscriptionPortletConfigurationIcon.java,NodeSubscriptionPortletConfigurationIcon,isSubscribed,#PortletRequest#,144

Before Change


		try {
			WikiNode node = ActionUtil.getNode(portletRequest);

			subscribed = _subscriptionLocalService.isSubscribed(
				themeDisplay.getCompanyId(), themeDisplay.getUserId(),
				WikiNode.class.getName(), node.getNodeId());
		}
		catch (Exception e) {
		}

After Change


		ThemeDisplay themeDisplay = (ThemeDisplay)portletRequest.getAttribute(
			WebKeys.THEME_DISPLAY);

		return _subscriptionLocalService.isSubscribed(
			themeDisplay.getCompanyId(), themeDisplay.getUserId(),
			WikiNode.class.getName(), node.getNodeId());
	}

	@Reference(unbind = "-")